/**
 * 信计团队
 * @version 1.0
 * 网址：http://www.huas.cn
 * E-mail：xieqingcheng@126.com
 * Copyright 2011 Hunan University of Arts and Science
 */

package cn.huas.model;


import java.util.HashSet;
import java.util.Set;


/**
 * Teachingbuilding entity.
 * 教学楼实体
 * @author xie
 * Jun 25, 2011
 */

public class Teachingbuilding  implements java.io.Serializable {

 
    /**
	 * 
	 */
	private static final long serialVersionUID = 6617486702250042014L;
	// Fields    

     private Integer teachingbuilding_id;
     private Integer teachingbuilding_code;
     private String teachingbuilding_name;
     private String teachingbuilding_sysFlag;
   	 private Systems teachingbuilding_systems;
     private Set<Classroom> classrooms = new HashSet<Classroom>(0);
     
     
     public Integer getTeachingbuilding_id() {
		return teachingbuilding_id;
	}

	public void setTeachingbuilding_id(Integer teachingbuildingId) {
		teachingbuilding_id = teachingbuildingId;
	}

	public Integer getTeachingbuilding_code() {
		return teachingbuilding_code;
	}

	public void setTeachingbuilding_code(Integer teachingbuildingCode) {
		teachingbuilding_code = teachingbuildingCode;
	}

	public String getTeachingbuilding_name() {
		return teachingbuilding_name;
	}

	public void setTeachingbuilding_name(String teachingbuildingName) {
		teachingbuilding_name = teachingbuildingName;
	}

	public String getTeachingbuilding_sysFlag() {
		return teachingbuilding_sysFlag;
	}

	public void setTeachingbuilding_sysFlag(String teachingbuildingSysFlag) {
		teachingbuilding_sysFlag = teachingbuildingSysFlag;
	}

	public Systems getTeachingbuilding_systems() {
		return teachingbuilding_systems;
	}

	public void setTeachingbuilding_systems(Systems teachingbuildingSystems) {
		teachingbuilding_systems = teachingbuildingSystems;
	}

    // Constructors

    /** default constructor */
    public Teachingbuilding() {
    }

    /** full constructor */
    public Teachingbuilding(Integer code, String name,Systems systems, String sysFlag, Set<Classroom> classrooms) {
        this.teachingbuilding_code = code;
        this.teachingbuilding_name = name;
        this.teachingbuilding_systems=systems;
        this.teachingbuilding_sysFlag = sysFlag;
        this.classrooms = classrooms;
    }

	public Set<Classroom> getClassrooms() {
		return classrooms;
	}

	public void setClassrooms(Set<Classroom> classrooms) {
		this.classrooms = classrooms;
	}
   








}